# Specify your environment by changing following entries. # underlying Lisp program name LISP = kcl # installation target directory BIN = /usr/local/bin # A change of the next entry must be reflected on the definition for # the variable "*R2SYS-DUMP-PATHNAME*" in src/defabclr2.lsp. IMAGE = saved_abclr2 # name of dumped image file SRCDIR = src # source directory ABCLR2 = $(BIN)/abclr2 # name of shell script all: (cd $(SRCDIR); $(LISP) < make-abclr2.lsp) # installation ABCL/R2 on KCl install-kcl: $(SRCDIR)/$(IMAGE) mv $(SRCDIR)/$(IMAGE) $(BIN) echo '#!/bin/sh' > $(ABCLR2) echo '$(BIN)/$(IMAGE) $(BIN)' >> $(ABCLR2) chmod +x $(ABCLR2) # installation ABCL/R2 on CMU-CL install-cmu: $(SRCDIR)/$(IMAGE) mv $(SRCDIR)/saved_abclr2 $(BIN) echo '#!/bin/sh' > $(ABCLR2) echo 'lisp -core $(BIN)/$(IMAGE)' >> $(ABCLR2) chmod +x $(ABCLR2) clean: -/bin/rm $(SRCDIR)/*.o $(SRCDIR)/*.sparcf $(SRCDIR)/saved_abclr2